﻿using BCCommon;
using System.ComponentModel.DataAnnotations;

namespace BCDto.TMS.Driver
{
    /// <summary>
    /// 司机实名认证信息
    /// </summary>
    public class RealNameVerifiesRequestDto
    {
        /// <summary>
        /// 真实姓名
        /// </summary>	
        [Display(Name = "真实姓名")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string RealName { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>	
        [Display(Name = "身份证号")]
        [Required(ErrorMessage = "{0} 不能为空")]
        [RegularExpression(RegexPatterns.ID_CARD, ErrorMessage = "{0} 应为18位中国公民有效身份证号")]
        public string IdentityCardNo { get; set; }
        /// <summary>
        /// 身份证正面照片
        /// </summary>	
        [Display(Name = "身份证正面照片")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string IdentityCardPath { get; set; }
        /// <summary>
        /// 身份证背面照片
        /// </summary>	
        [Display(Name = "身份证背面照片")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string IdentityCardBackPath { get; set; }
        
    }
}
